// 设计通用样式
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
@bg-color:#e66161;
//设计舞台样式
#main {
    width: 360px;
    height: 450px;
    border:20px solid @bg-color;
    margin: 100px auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    #stage {
        width: 304px;
        height: 304px;
        border: 2px solid @bg-color;
        position: relative;
        #snake {
            div {
                position: absolute;
                width: 10px;
                height: 10px;
                background-color: @bg-color;
                border:1px solid #fff;
            }
        }
        #food {
            position: absolute;
            width: 10px;
            height: 10px;
            left: 40px;
            top: 100px;
            display: flex;
            justify-content: space-around;
            align-items: center;
            flex-wrap: wrap;
            transform: rotate(45deg);
            div {
                width: 4px;
                height: 4px;
                background-color: @bg-color;
            }
        }
    }
    #scorePancel {
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 300px;
        height: 60px;
        font-size: 18px;
        font-weight: bold;
    }
}